.addresses-container {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    min-height: 600px;
    background-color: #f9f4ff; /* 淡紫色背景 */
}

.profile-sidebar {
    width: 250px;
    background-color: #f3e9ff; /* 稍深的淡紫色 */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px;
    margin-right: 20px;
    border: 1px solid #e6d5ff; /* 淡紫色边框 */
}

.addresses-content {
    flex: 1;
    background-color: #fdfaff; /* 非常淡的紫色 */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 30px;
    border: 1px solid #e6d5ff;
}

.addresses-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #5a3d7a; /* 深紫色标题 */
}

#addAddressBtn {
    padding: 10px 20px;
    background-color: #9c6ade; /* 紫色按钮 */
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

#addAddressBtn:hover {
    background-color: #8a5acd; /* 深一点的紫色 */
}

.addresses-list {
    margin-top: 20px;
}

.address-card {
    border: 1px solid #e6d5ff; /* 淡紫色边框 */
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    background-color: white;
}

.address-card.default {
    border-color: #9c6ade;
    background-color: #f8f2ff; /* 非常淡的紫色背景 */
}

.address-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.address-name {
    font-weight: bold;
    margin-right: 10px;
    color: #5a3d7a; /* 深紫色文字 */
}

.address-phone {
    color: #7a5a9a; /* 中等紫色 */
}

.default-tag {
    background-color: #9c6ade; /* 紫色标签 */
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

.address-detail {
    color: #5a3d7a; /* 深紫色文字 */
    line-height: 1.6;
    margin-bottom: 10px;
}

.address-actions {
    text-align: right;
}

.address-actions button {
    padding: 5px 10px;
    margin-left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #7a5a9a; /* 中等紫色 */
    transition: color 0.3s;
}

.address-actions .edit-btn {
    color: #9c6ade;
}

.address-actions .delete-btn {
    color: #d18aff;
}

.address-actions .set-default-btn {
    color: #b57aff;
}

.address-actions button:hover {
    color: #5a3d7a; /* 深紫色悬停效果 */
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fdfaff; /* 淡紫色背景 */
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    max-width: 90%;
    position: relative;
    border: 1px solid #e6d5ff;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #9c6ade;
}

.close-btn:hover {
    color: #5a3d7a;
}

.modal h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #5a3d7a;
}

.region-selector {
    display: flex;
    gap: 10px;
}

.region-selector select {
    flex: 1;
    padding: 10px;
    border: 1px solid #e6d5ff;
    border-radius: 3px;
    background-color: white;
    color: #5a3d7a;
}